﻿@using S4Store.Domain
@model S4Store.Domain.Actionplan
@{
    ViewBag.Title = "Add";
    Layout = null;
}
<form class="pageForm addpage" action="@Url.Action("WriteResult")" method="post">
<div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">
    <div class="pageFormContent" style="overflow: auto;" ratio="*">
        <input type="hidden" name="WriteDate" value="@Model.WriteDate"/>
        <table style="width:100%; height:100%;"  class="verticalSplitContainer">
            <tr ratio="#30">
                <td>工时跨度：<input type="text" value="@Model.FinishStart" size="20" class="textInput datetime" name="FinishStart" readonly="readonly" /> - <input type="text" size="20" value="@Model.FinishEnd" class="textInput datetime" name="FinishEnd" readonly="readonly" /></td>
            </tr>
            <tr  ratio="#30">
                <td >阶段描述：</td>
            </tr>  
            <tr ratio="*">
                <td  style=" height:100%;">
                    <textarea name="Achievement" style="width:90%; height:100%;">@Model.Achievement</textarea>
                </td>
            </tr> 
        </table>
    </div>
        @if (Model.Status == Actionplan.PlanStatus.Application)
        {
            <div class="formBar" ratio="#30">
                <ul>
                    <li><div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div></li>	
                </ul>
            </div>
        }
</div>
</form>

